<!--
 * @Author: Songjq
 * @Date: 2022-04-05 21:45:23
 * @Desscription: 
-->
<!--搜索与重置-->
<template>
  <span>
    <el-button
      size="mini"
      type="primary"
      icon="el-icon-search"
      @click="crud.toQuery()"
      style="margin-left: 0px"
      >搜索</el-button
    >
    <el-button
      size="mini"
      type="default"
      icon="el-icon-refresh-left"
      @click="crud.resetQuery()"
      >重置</el-button
    >
  </span>
</template>
<script>
export default {
  props: {
    crud: {
      type: Object,
      required: true,
    },
  },
};
</script>
